package com.smmisia.shop.entity.convetor;

import com.smmisia.shop.entity.TicketOrder;
import com.smmisia.shop.response.TicketOrderResponse;
import com.smmisia.shop.response.TicketResponse;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;
import org.mapstruct.factory.Mappers;

@Mapper(nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface TicketOrderConvertor {

    TicketOrderConvertor INSTANCE = Mappers.getMapper(TicketOrderConvertor.class);

    TicketOrderResponse toRes(TicketOrder order);
}
